package org.dawfinn.droiditarian.client.admin;


import com.google.gwt.user.client.rpc.AsyncCallback;

public interface DeedsServiceAsync {

	void createDeed(String name, String description, String explanation, String moreInfo, String releaseDate, String sessionId,
	        AsyncCallback<ClientDeed> callback);

	void deleteDeed(String key, String sessionId, AsyncCallback<Boolean> callback);

	void editDeed(String key, String name, String description, String explanation, String moreInfo, String releaseDate, String sessionId,
	        AsyncCallback<ClientDeed> callback);

	void getDeeds(String sessionId, AsyncCallback<ClientDeed[]> callback);
}
